package com.hoshiicloud.goods.dto.sku;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
* <p>
* 商品sku分配
* </p>
*
* @author zhangshuhu
* @since 2019-06-04
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ProductManageVO对象", description="商品sku分配")
public class ProductManageDTO implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
    * 租户ID
    */
    @ApiModelProperty(value = "租户ID")
    private Long companyid;
    /**
    * 平台ID
    */
    @ApiModelProperty(value = "平台ID")
    private Long platformid;
    /**
    * 店铺ID
    */
    @ApiModelProperty(value = "店铺ID")
    private String storeid;
    /**
    * 来源 1-租户  2-平台 3-店铺
    */
    @ApiModelProperty(value = "来源 1-租户  2-平台 3-店铺")
    private Integer source;
    /**
    * SKUID
    */
    @ApiModelProperty(value = "SKUID")
    private Long skuid;
    /**
    * SKUNO
    */
    @ApiModelProperty(value = "SKUNO")
    private String skuno;
    /**
    * 商品名称
    */
    @ApiModelProperty(value = "商品名称")
    private String skuname;
    /**
    * 规格
    */
    @ApiModelProperty(value = "规格")
    private String spec;
    /**
    * 单位
    */
    @ApiModelProperty(value = "单位")
    private String unit;
    /**
    * 分配数量
    */
    @ApiModelProperty(value = "分配数量")
    private BigDecimal quantity;
    /**
    * 冻结数量
    */
    @ApiModelProperty(value = "冻结数量")
    private BigDecimal freezes;
    /**
    * 备注
    */
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
    * 制单人
    */
    @ApiModelProperty(value = "制单人")
    private String createdby;
    /**
    * 建立时间
    */
    @ApiModelProperty(value = "建立时间")
    private LocalDateTime createdtime;
    /**
    * 修改人
    */
    @ApiModelProperty(value = "修改人")
    private String updatedby;
    /**
    * 修改时间
    */
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updatedtime;
    /**
    * 是否删除
    */
    @ApiModelProperty(value = "是否删除")
    private Integer deleted;
}
